<script setup>
const { auth } = inject("store");

const test = () => {
  auth.token = "123";
  auth.authList = ["1"];
};
</script>

<template>
  <n-button type="primary" @click="test">测试登录</n-button>
</template>
